package com.andy.customerService.service;

import com.andy.customerService.entity.User;
import com.andy.customerService.pojo.request.UserRequestParam;
import com.andy.customerService.vo.JsonBaseResult;
import com.andy.customerService.vo.JsonPageResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Andy
 * @since 2021-12-24
 */
public interface UserService extends IService<User> {

    void addUser(User user);


    JsonBaseResult<User> queryUserById(Long id);

    void editUserById(User user);

    void deleteUserById(Long id);

    JsonPageResult<Object> queryUserListByParam(UserRequestParam requestParam);
}
